package com.company.cloud.point.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.company.cloud.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 1_积分规则配置表 
 * </p>
 *
 * @author anros
 * @since 2020-10-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ump_point_rule_config")
public class PointRuleConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 积分规则编号
     */
     @ApiModelProperty(value = "积分规则编号")
    @TableId(value = "rule_no", type = IdType.INPUT)
      private String ruleNo;

    /**
     * 公司编号
     */
     @ApiModelProperty(value = "公司编号")
      private String companyNo;

    /**
     * 规则分类(通用、个性化)
     */
     @ApiModelProperty(value = "规则分类(通用、个性化)")
      private String ruleType;

    /**
     * 规则名称
     */
     @ApiModelProperty(value = "规则名称")
      private String ruleName;

    /**
     * 奖励分值
     */
     @ApiModelProperty(value = "奖励分值")
      private Integer rewardVal;

    /**
     * 事件编号
     */
     @ApiModelProperty(value = "事件编号")
      private String eventNo;

    /**
     * 奖励条件
     */
     @ApiModelProperty(value = "奖励条件")
      private String rewardCondition;

    /**
     * 数据状态
     */
     @ApiModelProperty(value = "数据状态")
      private String rowsState;

    /**
     * 创建人
     */
     @ApiModelProperty(value = "创建人")
      private Integer cman;

    /**
     * 创建时间
     */
     @ApiModelProperty(value = "创建时间")
      private LocalDateTime cdt;

    /**
     * 创建人IP
     */
     @ApiModelProperty(value = "创建人IP")
      private String cip;

    /**
     * 更新人
     */
     @ApiModelProperty(value = "更新人")
      private Integer eman;

    /**
     * 更新时间
     */
     @ApiModelProperty(value = "更新时间")
      private LocalDateTime edt;

    /**
     * 更新人IP
     */
     @ApiModelProperty(value = "更新人IP")
      private String eip;


}
